* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: '方正细圆_GBK', sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #f5f5f5;
}

table {
  background-color: #fff;
}

.row {
  display: flex;
  flex-direction: row;
  border-top: 1px solid #ccc;
}
.row:last-child {
  border-bottom: 1px solid #ccc;
}

.cell {
  justify-content: center;
  align-items: center;
  font-size: 16px;
  width: fit-content;
  height: fit-content;
  width: 180px;
  height: 36px;
  padding: 6px 10px;
  border-left: 1px solid #ccc;
  border-collapse: collapse;
  overflow: hidden;
}
.cell:last-child {
  border-right: 1px solid #ccc;
}

.cell-item {
  position: relative;
  height: 24px;
  line-height: 24px;
  width: 100%;
  pointer-events: none;
  padding-right: 0;
  user-select: none;
}

.no-overflow-word {
  text-wrap: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.edit-box {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
}

.edit-box::after {
  content: '';
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 5px;
  height: 5px;
  background-color: blue;
}

.edit-box > div {
  width: 100%;
  height: 100%;
  padding: 6px 10px;
  border: 1px solid blue;
}

.input-box {
  pointer-events: none;
  width: 100%;
  height: 100%;
  font-size: 16px;
  line-height: 24px;
  outline: none;
  border: none;
}
